cidian=["abc","cde"]
d=2
a1=[]
zhongwencidian=[]
b=True
c=0
while b:
    a=input()
    for i in range(d):
        if a in cidian[i]:
            c+=1
            a1[c-1]=cidian[i]
    print(a1)
    b=False